package com.apexedu.portal.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TLbxxMx entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_LBXX_MX")
public class TLbxxMx implements java.io.Serializable {

	// Fields

	private String wid;
	private Long id;
	private String title;
	private Date time;
	private String depart;
	private String url;
	private String state;
	private String processtype;
	private String userid;
	private String db;

	// Constructors

	/** default constructor */
	public TLbxxMx() {
	}

	/** minimal constructor */
	public TLbxxMx(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TLbxxMx(String wid, Long id, String title, Date time, String depart, String url, String state,
			String processtype, String userid) {
		this.wid = wid;
		this.id = id;
		this.title = title;
		this.time = time;
		this.depart = depart;
		this.url = url;
		this.state = state;
		this.processtype = processtype;
		this.userid = userid;
	}

	// Property accessors
	@Id
	@Column(name = "WID", unique = true, nullable = false, length = 50)
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	@Column(name = "ID", precision = 10, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "TITLE", length = 1024)
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "TIME", length = 7)
	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	@Column(name = "DEPART", length = 500)
	public String getDepart() {
		return this.depart;
	}

	public void setDepart(String depart) {
		this.depart = depart;
	}

	@Column(name = "URL", length = 1024)
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name = "STATE", length = 50)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "PROCESSTYPE", length = 50)
	public String getProcesstype() {
		return this.processtype;
	}

	public void setProcesstype(String processtype) {
		this.processtype = processtype;
	}

	@Column(name = "USERID", length = 50)
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Column(name = "DB", length = 50)
	public String getDb() {
		return this.db;
	}

	public void setDb(String db) {
		this.db = db;
	}

}